//
//  DMPara.h
//  MacStockApp
//
//  Created by Andy MacPro on 12/8/6.
//
//

#import <Foundation/Foundation.h>
#import "FMDatabase.h"
#import "GBPara.h"

@interface DMPara : NSObject{
    //sqlite 檔案路徑與名稱
    NSString *databasePath_nsame;
    NSString *db_code;
    
    NSMutableDictionary *para_dic_mesa;
    NSMutableDictionary *para_dic_lf;
    NSMutableDictionary *para_dic_macd;
    NSMutableDictionary *para_dic_kd;
    NSMutableDictionary *para_dic_ma;
 
    NSMutableDictionary *para_dic;//參數字典
    
    NSMutableDictionary *calculate_property_all;    
}
@property (retain) NSMutableDictionary *calculate_property_all;
@property (retain) NSMutableDictionary *para_dic;
- (id)init_code:(NSString *)object_code database_path:(NSString *)dpth _calculate_property_all:(NSMutableDictionary *)_calculate_property_all;

//輸入計算方法 取出參數值
-(NSMutableDictionary *) Para_calculate_method:(NSString *)calculate_method period:(NSString *)dwm;

//儲存修改的參數值
-(BOOL)Save_Para:(NSString *)calculate_method Para_dic:(NSMutableDictionary *)par_dic period:(NSString *)dwm;


@end
